package com.example.demo.app.hash;

import org.hashids.Hashids;

public class HashId {

    private static int minHashLength = 8;
    private static Hashids hashids = new Hashids("this is my salt", minHashLength);

    public static String generate(long... numbers) {
        return hashids.encode(numbers);
    }
}
